package cn.lanjh.system.domain;

import cn.lanjh.common.mybatis.base.entity.AbstractEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 文件上传
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@TableName("sys_oss")
public class SysOss extends AbstractEntity implements Serializable {
    //
    private static final long serialVersionUID = 1356257283938225230L;

    @TableId(type = IdType.ID_WORKER)
    private Long id;

    /**
     * 文件名
     */
    private String fileName;

    /**
     * 文件后缀
     */
    private String fileSuffix;

    /**
     * URL地址
     */
    private String url;

    /**
     * 服务商
     */
    private Integer service;

    /**
     * 用于表格行内编辑
     */
    private Boolean editable;


}
